package cn.xfdzx.android.apps.shop.contract;

import java.util.Map;

import cn.xfdzx.android.apps.shop.base.BaseView;
import cn.xfdzx.android.apps.shop.bean.ApplyShopInBeen;
import cn.xfdzx.android.apps.shop.bean.BankCardBeen;
import cn.xfdzx.android.apps.shop.bean.EleContractMakeBeen;
import cn.xfdzx.android.apps.shop.bean.LicenseImgBeen;
import cn.xfdzx.android.apps.shop.bean.OneBeen;
import io.reactivex.Flowable;


/**
 * @author azheng
 * @date 2018/6/4.
 * Description：
 */

public interface ApplyShopInContract {
    interface Model {
        Flowable<ApplyShopInBeen> applySubmit(String idcard,String offline_shop_name,String whole_address,String inv_code,String lat,String lng,String store_name, String store_master, String store_qualifications_img, String store_category, String store_address, String store_phone, String store_qualifications_num, String store_qualifications_name, String store_qualifications_expire, String idcard_back_img, String idcard_front_img, String qs_img, String bank_card, String bank_open_name, String bank_name, String bank_branch, String bd_name, String bd_phone, String sign_status, String bd_content, String store_logo, String category_id, String store_current_address, String intro, String salecate, String front_door_photo, String in_store_photo);
        Flowable<BankCardBeen> idCardSubmit(String bankCardImg );
        Flowable<EleContractMakeBeen> eleContractMake(String contract_year,String store_num,String telephone,String card_name,String card_code,String customer_name,String orgnizationCode,String orgnizationMster,String customer_address,String bank_name,String bank_code);
    }

    interface View extends BaseView {
        @Override
        void showLoading();

        @Override
        void hideLoading();

        @Override
        void onError(Throwable throwable);

        void onApplySubmitSuccess(ApplyShopInBeen bean);

        void onBankCardSuccess(BankCardBeen bean);
        void onEleContractMakeSuccess(EleContractMakeBeen bean);
    }

    interface Presenter {

        void applySubmit(String idcard,String offline_shop_name,String whole_address,String inv_code,String lat,String lng,String store_name, String store_master, String store_qualifications_img, String store_category, String store_address, String store_phone, String store_qualifications_num, String store_qualifications_name, String store_qualifications_expire, String idcard_back_img, String idcard_front_img, String qs_img, String bank_card, String bank_open_name, String bank_name, String bank_branch, String bd_name, String bd_phone, String sign_status, String bd_content, String store_logo, String category_id, String store_current_address, String intro, String salecate, String front_door_photo, String in_store_photo);

        void idCardSubmit(String bankCardImg);
        void eleContractMake(String contract_year,String store_num,String telephone,String card_name,String card_code,String customer_name,String orgnizationCode,String orgnizationMster,String customer_address,String bank_name,String bank_code);
    }
}
